package ua.com.globallogic.training.task2;

public class Smartphone extends PortableDevice{
	int countOfSimCards;
	String[] compatibleMobileStandards = {"GSM", "GPRS"};
	
	public Smartphone(int countOfSimCards) {
		countOfSimCards = 1;		
	}
	
	public void makeCall() {
		System.out.println("Smartphone is making call");
	}
	
	@Override
	public void printCharacteristics() {
		System.out.println();
		System.out.println("Characteristics of the smartphone: ");
		System.out.println("Count of SIM cards: " + countOfSimCards);
		System.out.println("Supported mobile standards: ");
		for (String standard : compatibleMobileStandards) {
			System.out.println("\t - "+ standard);
		}
	}
}

